home *** CD-ROM | disk | FTP | other *** search
-
-
- NAME
- VolName
-
- SYNOPSIS
- VolName - get the Volumename of a file - Requires v37
-
- INPUTS
- FILE/A,VOLUME/S,DEVICE/S
-
- FUNCTION
- VolName gets a filename and evaluates its
- Volumename.
-
- If VOLUME is selected, we call GetNameFromLock
- and evaluate the Volumename from that string
-
- If DEVICE is selected, we try to get the
- Devicename instead of the Volumename.
-
- DEVICE hides VOLUME.
-
- The resulting string is sent to STDOUT.
-
- RESULT
- the volumename of the file, or empty string
- if information can not be found
-
- NOTES
- CLI - only
-
- should compile with SAS-C
-
- BUGS
- We use 'Lock' to check the file, so an exclusively
- locked or non existant file is not recognized, if
- one of the flags is given.
-
- EXAMPLES
- (we are assuming You use a unmodified Workbench)
-
- >VolName ENV:Sys
- ENV:
-
- >VolName ENV:Sys VOLUME
- Ram Disk:
-
- >VolName ENV:Sys DEVICE
- RAM:
-
- AUTHOR
- Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
- noll@student.uni-kl.de
-
-
-